Repository navigation
Conversation
…ry' into feat/tkm-167-cli
The shared parser rejected every flag except --json, --server and --help, so a command could not take --errors, --out or --new. A command now lists its flags, the parser accepts only those, and help shows them.
This was referenced Nov 20, 2026
This was referenced Nov 20, 2026
JustKira
marked this pull request as draft
November 20, 2026 14:08
JustKira
changed the base branch from
feat/tkm-164-build-outside-repo
to
feat/tkm-166-plugin-types
November 20, 2026 14:58
Contributor
Author
|
Closing without merging. The plugin shape, the server engine and sign-in are being decided again (Linear TKM-194 and TKM-195), and this work sits on top of them. Nothing is lost: the head commit is 6165ba5, and |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Stacked on #257.
Summary
An indexed build wins a duplicate id. Missing folders and unbuilt entries are
logged and skipped. Each command shares help, exit codes, and a single JSON
result when requested. Index edits take effect at the local server's next start.
Linear: TKM-167
Evidence
tokamakscript to invoke, and the localserver reported installed version
1.0.0instead of indexed version1.0.1.JSON, index conflicts and removal, and listing across real local server
restarts in a temporary data folder. The Rust test verifies precedence and
startup with missing and unbuilt entries.
Local validation:
bash .ci/check.sh lintbash .ci/check.sh tsbash .ci/check.sh rustcargo test -p serverproto run bun -- e2e/run.tscargo build -p server --bin tokamak-serverproto run bun -- test packages/cli/tests/cli.test.mjsMerge Danger
Door: Two-way. The index is an optional JSON file and removing it restores
startup from
--pluginsalone.Blast Radius: Startup. Only the local server reads the index; existing
servers without an index keep their plugin sources.